<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<style>
.form-item {
	margin: 20px 10px;
}

.form-item>label {
	letter-spacing: 3px;
	width: 110px;
	text-align: right;
	display: inline-block;
}

.form-item>label:after {
	content: ":";
}

.form-item input[type=text] {
	width: 100px;
}

.form-item.required>label:before {
	content: "*";
	color: red;
}
</style>
<form id="empsForm" style="margin-top: 15px; margin-left: 20px;">
	<input type="hidden" name="userInfoId" value="${emp.userInfoId}">
	<h3 style="margin-left: 200px; padding: 10px;">修改员工</h3>
	<div class="form-item ">
		<label for="" style="margin-left: -40px;">姓名</label>
		<input value="${emp.userName }" type="text" name="userName"
			disabled="disabled" class="easyui-textbox">
			<label for="">入职时间</label>
		<input value="${emp.hiredate }" type="text"
			data-options="required:true" disabled="disabled"
			class="easyui-datebox" name="hiredate">
	</div>
	<div class="form-item ">
		<label for="" style="margin-left: -40px;">性别</label>&nbsp;
		男&nbsp; <input name="userSex" ${empty emp||emp.userSex=='1'?'checked':''} type="radio"  value="2" />&nbsp;&nbsp;
		女&nbsp; <input name="userSex" type="radio" ${empty emp||emp.userSex=='0'?'checked':''}
			value="1" />
	<label for="" style="margin-left: 25px;">电话</label>
		<input value="${emp.userTel}" type="text" name="userTel"
			data-options="required:true" class="easyui-textbox" />
	</div>
	<div class="form-item ">
		<label for="" style="margin-left: -40px;">所属部门</label>
		<select class="easyui-combobox" name="dept"disabled="disabled"
			data-options="multiple:false,panelHeight:'atuo',editable:false,"
			style="width: 100px;">
			<c:forEach items="${deptlist}" var="deptlist">
				<option value="${deptlist.deptId}"
					${dept.deptId==deptlist.deptId?'selected':''}>${deptlist.deptName}</option>
			</c:forEach>
		</select>
	</div>
	<%-- <div class="form-item ">
		<label for="" style="margin-left: 100px; padding: 10px;">用户身份</label>
		<select class="easyui-combobox" name="roleName"
			data-options="multiple:false,panelHeight:'atuo',editable:false,"
			style="width: 100px;">
			<c:forEach items="${rolelist}" var="rolelist">
				<c:if test="${rolelist.roleName!='学生'}">
					<option value="${rolelist.roleId}" ${role.roleId==rolelist.roleId?'selected':"" }>${rolelist.roleName}</option>
				</c:if>
			</c:forEach>
		</select>
	</div> --%>

</form>